package com.loooooo.pm2024.modules.pm.mapper;


import com.loooooo.pm2024.modules.pm.model.IssueComment;
import com.loooooo.pm2024.modules.pm.model.WorkLog;
import com.loooooo.pm2024.modules.pm.model.WorkSummary;
import com.loooooo.pm2024.modules.pm.selector.IssueCommentSelector;
import com.loooooo.pm2024.modules.pm.selector.WorkLogSelector;
import com.loooooo.pm2024.modules.pm.selector.WorkSummarySelector;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Objects;

@Mapper
public interface WorkLogMapper {


    WorkLog get(Long id);

    List<WorkLog> select(WorkLogSelector selector);

    int count(WorkLogSelector selector);

    int insert(WorkLog issue);

    int update(WorkLog issue);

    List<WorkSummary> summary(WorkSummarySelector selector);
}
